/*
 * File Name : node_factory.h
 * Auther : dream.liuguobiao
 * Create Date : 2010-5-14
 * Last Edit : 2010-5-16
 */

#ifndef NODE_FACTORY_H
#define NODE_FACTORY_H

#include "node.h"

class node_factory
{
private:
  static node_factory *instance_node_factory;
  node_factory();

public:
  static node_factory *get_node_factory();
  node *get_node(std::string *type);
};

#endif
